﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AdminSite.Master" Inherits="System.Web.Mvc.ViewPage<HuynhQuangWebsite.Models.ContactU>" %>

<asp:Content ID="Content2" ContentPlaceHolderID="TitleAreaPlaceHolder" runat="server">
 <div class="pageTitle">
        <h5>Quản lý trang mục liên hệ</h5>
        <span>Trang quản lý nội dung mục liên hệ</span>
    </div>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">

<!-- Validation form -->
<%using (Html.BeginForm("UpdateToContact", "ManageContact", new {id = Model.ContactUsID}, FormMethod.Post, new { enctype = "multipart/form-data", @class = "form", id = "validate" }))
    { %>
            <fieldset>
                <div class="widget">
                    <div class="title"><img src="../../Images/adminSite/icons/dark/pencil.png" alt="" class="titleIcon" /><h6>Địa chỉ công ty</h6></div>
                    <div class="formRow">
                        <label>Địa chỉ:<span class="req">*</span></label>
                        <div class="formRight"><%:Html.TextBoxFor(model => model.ContactAddr, new { @class = "validate[required]", id = "req"})%></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Thành Phố:<span class="req">*</span></label>
                        <div class="formRight"><%:Html.TextBoxFor(model => model.ContactAddCity, new { @class = "validate[required]", id = "req"})%></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Quốc gia:<span class="req">*</span></label>
                        <div class="formRight"><%:Html.TextBoxFor(model => model.ContactCountry, new { @class = "validate[required]", id = "req"})%></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Số FAX:<span class="req">*</span></label>
                        <div class="formRight"><%:Html.TextBoxFor(model => model.ContactFax, new { @class = "validate[required]", id = "req"})%></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Điện thoại cố định:<span class="req">*</span></label>
                        <div class="formRight"><%:Html.TextBoxFor(model => model.ContactPhone1, new { @class = "validate[required]", id = "req"})%></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Di động:<span class="req">*</span></label>
                        <div class="formRight"><%:Html.TextBoxFor(model => model.ContactMobile, new { @class = "validate[required]", id = "req"})%></div>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="widget">
                    <div class="title"><img src="../../Images/adminSite/icons/dark/pencil.png" alt="" class="titleIcon" /><h6>Thông tin liên hệ về công ty</h6></div>
                    <div class="formRow">
                        <label>Tiêu đề trang:<span class="req">*</span></label>
                        <div class="formRight"><%:Html.TextBoxFor(model => model.ContactTitle, new { @class = "validate[required]", id = "req"})%></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Hướng dẫn:<span class="req">*</span></label>
                        <div class="formRight"><%:Html.TextAreaFor(model => model.ContactDirection, new { @class = "autoGrow", id = "textareaAutoGrow", rows = "8", cols = "" })%></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Hãy viết cho chúng tôi:<span class="req">*</span></label>
                        <div class="formRight"><%:Html.TextAreaFor(model => model.ContactWriteToUs, new { @class = "autoGrow", id = "textareaAutoGrow", rows = "8", cols = "" })%></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Thông tin chung:<span class="req">*</span></label>
                        <div class="formRight"><%:Html.TextAreaFor(model => model.ContactGeneral, new { @class = "autoGrow", id = "textareaAutoGrow", rows = "8", cols = "" })%></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formSubmit"><input type="submit" value="cập nhật" class="redB" /></div>
                    <div class="clear"></div>
                    <div><%:Html.HiddenFor(model => model.ContactUsID) %></div>
                </div>
                
            </fieldset>
            
<%} %>

</asp:Content>